package co.edu.usbcali.sgi.dataaccess.dao;

import co.edu.usbcali.sgi.modelo.Marca;

import java.math.BigDecimal;

import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * Interface for MarcaDAO.
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface IMarcaDAO {
    public void save(Marca instance);

    public void delete(Marca instance);

    public void update(Marca instance);

    public Marca findById(String id);

    public List<Marca> findByExample(Marca instance);

    public List<Marca> findByProperty(String propertyName, Object value);

    public List<Marca> findAll();

    public List<Marca> findByCriteria(String whereCondition);

    public List<Marca> findPageMarca(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults);

    public Long findTotalNumberMarca();

    public List<Marca> findByMarCod(Object marCod);

    public List<Marca> findByMarNombre(Object marNombre);
}
